import Vue from 'vue';
import App from './App.vue';
import router from './router';
import QS from 'qs';
import api from './api/install';
import Axios from 'axios';

Vue.prototype.$qs = QS;
Vue.use(api);
Vue.prototype.$axios = Axios;
Vue.config.productionTip = false;

Axios.defaults.headers = {
  'Content-Type': 'application/x-www-form-urlencoded'
}

new Vue({
  router,
  render: h => h(App)
}).$mount('#app');
